﻿@model DreamStore.WebShop.Models.CustomerDiscountProgramPart

<fieldset>
    
    <legend>Customer Discount</legend>

    <span class="hint">(Edit customer to add discounts)</span>
    <br/>
    <div class="editor-field">
        @Html.EditorFor(x => x.Name)
        <span class="hint">Name of discount</span>
        @Html.ValidationMessageFor(x => x.Name)
    </div>
    <br/>
    <div class="editor-field">
        @Html.EditorFor(x => x.Discount)
        <span class="hint">Amount of discount in percent [0,0 - 1,0] (15.5% discount = 0,155)</span>
        @Html.ValidationMessageFor(x => x.Discount)
    </div>
    <br/>
</fieldset>